﻿ReloadGrid = function(cbx)
{
    dgMain_c.PerformCallback("init" + DELIMITER + cbx.options[cbx.selectedIndex].value);
}

SaveFeedUnsubscribe = function()
{
    dgMain_c.PerformCallback("save");
}

toggle = function (fsid)
{
    var div = $id("div_" + fsid);
    var lnk = $id("lnk_" + fsid);
    var lnkdscd = $id("lnkdscd_" + fsid);
    
    var display = "";
    
    if( div.style.display != "none" )
    {
        display = "none";
    }
    
    div.style.display = display;
    
    if( lnk != null )
    {
        lnk.style.display = display;
    }
    
    if( lnkdscd != null )
    {
        lnkdscd.style.display = display;
    }
}

StartLoadingAnimation = function(div){
    div.innerHTML = "<img src='" + LOADING.src + "' alt='' />";    
}

EndLoadingAnimation = function(div){
    div.innerHTML = "";    
}